# -*- coding: utf-8 -*-
# scrap.models

from google.appengine.ext import db

# Create your models here.

class Board(db.Model):
  clip_number = db.IntegerProperty(required=True, default=1)
  updated = db.DateTimeProperty(auto_now=True)
  created = db.DateTimeProperty(auto_now_add=True)

class Clip(db.Model):
  poster_name = db.StringProperty()
  content = db.TextProperty()
  url = db.TextProperty()
  clip_number = db.IntegerProperty(required=True)
  updated = db.DateTimeProperty(auto_now=True)
  created = db.DateTimeProperty(auto_now_add=True)
  
